package com.example.rabbit.config;

public class DirectConfig {
    /**
     * 队列后缀
     */
    private static final String QUEUE_SUFFIX = ".queue";
    /**
     * exchange后缀
     */
    private static final String EXCHANGE_SUFFIX = ".exchange";

    /**
     * 撮合成功或撤单的exchange
     */
    public static final String TRADED_ENTRUST_ORDER_EXCHANGE = "entrust.order.traded" + EXCHANGE_SUFFIX;
    /**
     * 撮合成功或撤单的queue
     */
    public static final String TRADED_ENTRUST_ORDER_QUEUE = TRADED_ENTRUST_ORDER_EXCHANGE + QUEUE_SUFFIX;

}
